﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Product.Domain.Entity
{
    public class Specification : BaseEntity
    {
        public Specification(string spuId, string specificationName, string specificationValue, int sort)
        {
            SpuId = spuId;
            SpecificationName = specificationName;
            SpecificationValue = specificationValue;
            Sort = sort;
        }

        public Specification() { }

        /// <summary>
        /// SpuId
        /// </summary>
        public string SpuId { get; set; }

        /// <summary>
        /// 规格名称
        /// </summary>
        public string SpecificationName { get; set; }

        /// <summary>
        /// 规格值
        /// </summary>

        public string SpecificationValue { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
    }
}
